package net.colah.k1.core;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaAbstractEntity;

/**
 * Created by sinclair on 4/27/14.
 */
@Entity
@Table(name = "BO_SUPPLIER")
public class Supplier extends KoalaAbstractEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3710276532535446724L;
	
	private String name;
	private String code;
	private String tel;
	private String mobile;
	private String fax;

	private String address;
	private String email;
	private String site;

	private String contact;

	private String meno;

	@Override
	public String[] businessKeys() {
		return new String[0];
	}

	@Column(name = "NAME", length = 128, nullable = false)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "CODE", length = 64, nullable = true)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "TEL", length = 128, nullable = true)
	public String getTel() {
		return tel;
	}

	@Column(name = "FAX", length = 36, nullable = true)
	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "MOBILE", length = 128, nullable = true)
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "ADDRESS", length = 256, nullable = true)
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "EMAIL", length = 64, nullable = true)
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "SITE", length = 64, nullable = true)
	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}

	@Column(name = "CONTACT", length = 48, nullable = true)
	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	@Column(name = "MENO", length = 128, nullable = true)
	public String getMeno() {
		return meno;
	}

	public void setMeno(String meno) {
		this.meno = meno;
	}

}
